/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package SteamEngineFX.Config.Layouts.Nav;

import javafx.geometry.Pos;
import javafx.scene.control.TitledPane;
import javafx.scene.layout.VBox;

/**
 *
 * @author jbendixsen
 */
public class ConfigNavSetup extends TitledPane{
    
    public ConfigNavSetup(){
        
        setText("Setup");
        //setExpanded(true);
        
        
        //Add buttons
        
        VBox buttons = new VBox();
        
        ConfigNavButton btnLocomotives = new ConfigNavButton("Locomotives");
        ConfigNavButton btnEquipment = new ConfigNavButton("Equipment");
        ConfigNavButton btnSchedules = new ConfigNavButton("Schedules");
        
        buttons.setAlignment(Pos.CENTER);
        buttons.setSpacing(3);
        
        buttons.getChildren().addAll(btnLocomotives, btnEquipment, btnSchedules);
        
        setContent(buttons);
    }
    
}
